#ifndef RequestUnlock_H
#define RequestUnlock_H

#include "SessionHandler.h"
#include <QObject>

class QNetworkAccessManager;
class QNetworkRequest;
class QNetworkReply;

class RequestUnlock : public QObject, public SessionHandler
{
    Q_OBJECT
public:
    RequestUnlock();

protected:
    virtual void handleSession();

private slots:
    void onReplyFinished(QNetworkReply* reply);

private Q_SLOTS:
    void onPost(const QNetworkRequest& req, const QByteArray& baData);

private:
    QNetworkAccessManager* m_manager;
};

#endif // RequestUnlock_H
